
typedef int ElemType;

struct StaticLinkedNode{
    ElemType data;
    unsigned int cur;
};
typedef struct StaticLinkedNode StcLiNode;

#define MAXSIZE 1000

StcLiNode StaticLinkedList[MAXSIZE];

int InitList(StcLiNode space[]);
int ClearList(StcLiNode space[]);
int ListEmpty(StcLiNode space[]);
int GetElem(StcLiNode space[],unsigned int i,ElemType *e);
int LocateElem(StcLiNode space[],ElemType e);
int ListInsert(StcLiNode space[],unsigned int i,ElemType e);
int ListDelete(StcLiNode space[],unsigned int i,ElemType *e);